package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BillProjectApply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 立项申请表
 *
 * @author
 * @email
 * @date 2021-06-29 10:26:53
 */
@Mapper
public interface BillProjectApplyDao {

    int save(BillProjectApply billProjectApply);

    int update(BillProjectApply billProjectApply);

    int updateStatus(@Param("id") String id, @Param("status") Integer status);

    int delete(String id);

    BillProjectApply findById(String id);

    List<BillProjectApply> findAll(Map<String, Object> params);

}
